package com.javaee.experiment2;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.event.ApplicationEventMulticaster;

/**
*@descrition: 自定义事件类
*@author: lzh
*@date: 2020/4/9
 * */
public class NoticeEvent extends ApplicationEvent {


    private final String msg;

    public NoticeEvent(String msg) {
        super(msg);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }
}
